Enhance fontification of declarators to take account of the
authorAlan Mackenzie <acm@muc.de>
Sat, 9 Oct 2010 19:58:28 +0000 (19:58 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 9 Oct 2010 19:58:28 +0000 (19:58 +0000)
commit8e01f06c3604739d455a853f689f9083009267ac
tree7fd581667b4b757a8be5a0a0788820b38d38a9e9
parent2f29762ac16f753a6ed09653f136a5fa4f8694a6
Enhance fontification of declarators to take account of the
presence/absence of "typedef".

cc-engine.el (c-forward-type): New &optional param "brace-block-too".
(c-forward-decl-or-cast-1): cdr of return value now indicates the
presence of either or both of a "struct"-like keyword and "typedef".

cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification
of declarators which follow a "}".
(c-font-lock-declarations): Fontify declarators according to the
presence/absence of "typedef".

cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for
"typedef".
(c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el